#include"stack.h"

int main()
{
	ST s;
	STinit(&s);
	STpush(&s, 1);
	printf("%d\n", STtop(&s));
	STpush(&s, 2);
	printf("%d\n", STtop(&s));
	STpush(&s, 3);
	printf("%d\n", STtop(&s));
	STpush(&s, 4);
	printf("%d\n", STtop(&s));
	STpush(&s, 5);
	printf("%d\n", STtop(&s));

	STpop(&s);

	printf("capacity = %d\n", s.capacity);
	printf("afeter del 5 size = %d", STSize(&s));

	STDestroy(&s);
}